package cn.mulanbay.persistent.enums;

/**
 * 用户类型
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public enum UserType {

    USER(0, "用户"),
    COACH(1, "教练"),
    ADMIN(2, "管理员");

    private int value;

    private String name;

    UserType(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
